import 'package:json_annotation/json_annotation.dart';

part 'xindong_gift_receive_class.g.dart';

@JsonSerializable()
class XinDongGiftReceiveClass {
  late int gift_id;
  late String num;
  late String name;
  late String price;
  late String preview;
  String? cover; // svga

  XinDongGiftReceiveClass();

  factory XinDongGiftReceiveClass.fromJson(Map<String, dynamic> json) => _$XinDongGiftReceiveClassFromJson(json);

  Map<String, dynamic> toJson() => _$XinDongGiftReceiveClassToJson(this);
}
